home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Demo/game to OS friendly part II
- Date: 26 Jan 1996 19:20:25 +0100
- Organization: dis-
- Message-ID: <4eb61a$4nd@serpens.rhein.de>
- References: <4e0jhq$f0q@sunsystem5.informatik.tu-muenchen.de> <4e114i$4o8@serpens.rhein.de> <4e371l$92b@sunsystem5.informatik.tu-muenchen.de> <4e3jld$la@serpens.rhein.de> <4e5k20$rva@sunsystem5.informatik.tu-muenchen.de> <4e64u7$a2u@serpens.rhein.de> <4e9n67$ron@sunsystem5.informatik.tu-muenchen.de>
- NNTP-Posting-Host: serpens.rhein.de
-
- fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer) writes:
-
- >: Simple and easy: you shouldn't, you mustn't, you can't.
-
- >wait a minute, I can't ? So how vlt manages to download on hd
- >while I run a editor ? :)
-
- You can't in your c0d3rware.
-
- >The problem disappears if I also provide selection of the 100% os fallback!
-
- So far you don't and you mix c0d3r lore and the use of the system.
-
- >mhm haven't you told me native = planar & in chipmem, and isn't chipmem
- >something you can blitter around ?
-
- Native = planar & chipmem. Doesn't mean that you have a blitter or
- even a compatible blitter. Of course up to now this _assumption_
- is valid. But what would have been with AAA and an incompatible
- blitter ? You would still have chip memory but your blitter code
- would break.
-
- To check for the blitter you have to check the flags in GfxBase.
- You can see wether you have OCS blitter, ECS blitter or AGA blitter.
-
- >why is this not your oppinion ? you mean 3 pass is not faster than 4
- >pass ? you must be joking.
-
- I never said this.
-
- >So if user got no AGA or no PAL, he will be happy (?) selecting
- >writepixelarray8().
-
- He would probably be happier if writepixelarray8 were faster.
-
- >: No, you don't read this right. You simply _assume_ that the driver is
- >: less than ideal than direct render to vram. This assumption is as
-
- >No. I say direct render could be faster.
-
- That's not what you said. There is a difference between "could" and
- "definitely is".
-
- >You said "No", you don't believe
- >that there is a case where "direct render can be faster".
-
- Rubbish. I believe that there are cases where direct render can be even
- slower.
-
- >There has been
- >code proving you wrong in practice.
-
- Can't be because I didn't say this. You are assuming again.
-
- >: valid is your other assumption about WaitTOF() to use busy-waiting.
-
- >I assume there exist drivers that do this.
-
- As most things you say are mere _assumptions_.
-
- >you told me.
-
- No, I didn't.
-
- >you told me
- >not to use hi-pri waittof therefore.
-
- No, I didn't.
-
- >you flame about things you did
- >tell.
-
- No, I didn't.
-
- >: >struct display *getdisplay(320,256,8,MODE_DIRECT_RENDER|MODE_LORES);
- >: Sorry, fails.
-
- >how you want to know ? you don't know what my function does.
-
- It should get you a display where you can poke the bitmap. And sorry,
- this wouldn't work everywhere.
-
- >"fails." really useful answer...
-
- Sure. It tells you that "what a c00l c0d3r assumes to get from an
- operating system" is not what he actually gets.
-
- >yes, sure. and yes, there are cases wher it is slower.
- >conclusion: you get most power is interface can handle both.
-
- Always _assuming_ that the programmer supports every possibility.
- This is deadly wrong for c0d3rz and is still wrong for OS programmers.
-
- >this proves my point that direct render sometimes is faster. TAIC.
-
- You didn't claim this. You claimed that it were always faster.
-
- >: You said that you need direct rendering to vram _because_ that is
- >: faster. And that's wrong.
-
- >I need this possibility as there are cases where it is faster.
-
- How would you know when it is faster ? Simply assuming that produces
- many situations where your code is slower. Using the system might
- not give the best speed in a particular setup but it gives the
- best speed for all setups.
-
- >: I don't care. I might even support this as an unportable exception.
- >I know :)
-
- You know ? I doubt that. Otherwise you wouldn't accuse me to be
- "the last one using WritePixelArray8 in the solar system".
-
- >: But more likely I would make the driver API include those higher
- >: level functions that would benefit from direct rendering. The user
- >: code can then ignore this topic algotether.
-
- >what ?
-
- I would make the driver API include those higher level functions.
- The system could support texture mapping or rendering lots of polygons.
-
- >how to direct render if OS doesn't support it ?
-
- You don't. The driver does. The driver is allowed to do this.
-
- >a hidden hint to bang the hardware by YOU ? ;) can't be ;)
-
- No. A couple of line earlier I did such a "hint" but you didn't
- understand.
-
- >I bet the cheaper ones, the ones only costing as much as 20 A1200,
- >got no zoom hardware anyway.
-
- AFAIK they still have texture mapping hardware and geometry engines.
- Not as fast and powerful as the big machines though.
-
- >: Poking hardware isn't efficient from a broader view.
- >yep.
-
- Then why do you say the opposite all the time ?
-
- >: If that produces junk, sure.
-
- >On a vanilla A1200 it doesn't ;)
-
- Sure it does.
-
- >Actually the only thing that can
- >make my copper hack crash is - the OS!
-
- You are blind. Of course it is _your_ hack that crashes.
-
- >If 4.0 will make it crash
- >I will ask myself why I didn't overtake the copper with a 080 poke.
-
- Or ask yourself why you tried to hack the OS. If you use hacks you
- break sooner or later. That's one of the most simple rules.
-
- >yep. but not faster than same machine having lores, if blitterdma
- >should brake cpu copying to vram.
-
- How would you know there was a blitter or something resembling current
- Amigas ?
-
- >It would be efficient, especially if hardwarezoomers available.
-
- It just covers what you need now.
-
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-